package com.ftg.learn.chapter14.manytomany;

/**
 * @author KangJx
 * @date 2021/7/22
 */
public class MidClassStuSub {

    private int mno;

    private Student stu;

    private Subject sub;

    public MidClassStuSub(int mno, Student stu, Subject sub) {
        this.mno = mno;
        this.stu = stu;
        this.sub = sub;
    }

    public int getMno() {
        return mno;
    }

    public void setMno(int mno) {
        this.mno = mno;
    }

    public Student getStu() {
        return stu;
    }

    public void setStu(Student stu) {
        this.stu = stu;
    }

    public Subject getSub() {
        return sub;
    }

    public void setSub(Subject sub) {
        this.sub = sub;
    }
}
